.class Lcom/brixd/niceapp/community/activity/PublishAppActivity$16;
.super Ljava/lang/Object;
.source "PublishAppActivity.java"

# interfaces
.implements Lretrofit/Callback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/activity/PublishAppActivity;->publishApp()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lretrofit/Callback",
        "<",
        "Lorg/json/JSONObject;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/activity/PublishAppActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    .prologue
    .line 675
    iput-object p1, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$16;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public failure(Lretrofit/RetrofitError;)V
    .registers 4
    .param p1, "arg0"    # Lretrofit/RetrofitError;

    .prologue
    .line 679
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$16;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    # invokes: Lcom/brixd/niceapp/community/activity/PublishAppActivity;->getContext()Landroid/content/Context;
    invoke-static {v0}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->access$2100(Lcom/brixd/niceapp/community/activity/PublishAppActivity;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "CommunityPublishAppFailure"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 681
    const v0, 0x7f0c004e

    invoke-static {v0}, Lcom/brixd/niceapp/util/ToastUtils;->show(I)V

    .line 682
    iget-object v0, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$16;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    # invokes: Lcom/brixd/niceapp/community/activity/PublishAppActivity;->hideDialog()V
    invoke-static {v0}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->access$1300(Lcom/brixd/niceapp/community/activity/PublishAppActivity;)V

    .line 683
    return-void
.end method

.method public bridge synthetic success(Ljava/lang/Object;Lretrofit/client/Response;)V
    .registers 3

    .prologue
    .line 675
    check-cast p1, Lorg/json/JSONObject;

    invoke-virtual {p0, p1, p2}, Lcom/brixd/niceapp/community/activity/PublishAppActivity$16;->success(Lorg/json/JSONObject;Lretrofit/client/Response;)V

    return-void
.end method

.method public success(Lorg/json/JSONObject;Lretrofit/client/Response;)V
    .registers 7
    .param p1, "arg0"    # Lorg/json/JSONObject;
    .param p2, "arg1"    # Lretrofit/client/Response;

    .prologue
    .line 687
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$16;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    # invokes: Lcom/brixd/niceapp/community/activity/PublishAppActivity;->getContext()Landroid/content/Context;
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->access$2200(Lcom/brixd/niceapp/community/activity/PublishAppActivity;)Landroid/content/Context;

    move-result-object v1

    const-string v2, "CommunityPublishAppSuccess"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 689
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$16;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    # invokes: Lcom/brixd/niceapp/community/activity/PublishAppActivity;->clearPendingPublishData()V
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->access$2300(Lcom/brixd/niceapp/community/activity/PublishAppActivity;)V

    .line 690
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$16;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    # invokes: Lcom/brixd/niceapp/community/activity/PublishAppActivity;->hideDialog()V
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->access$1300(Lcom/brixd/niceapp/community/activity/PublishAppActivity;)V

    .line 691
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$16;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string v2, "GotoCommunity"

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v1

    if-eqz v1, :cond_49

    .line 692
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$16;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    # invokes: Lcom/brixd/niceapp/community/activity/PublishAppActivity;->getContext()Landroid/content/Context;
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->access$2400(Lcom/brixd/niceapp/community/activity/PublishAppActivity;)Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/activity/NiceAppContentActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 693
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "TargetFragment"

    sget-object v2, Lcom/brixd/niceapp/activity/NiceAppContentActivity$TargetFragment;->Community:Lcom/brixd/niceapp/activity/NiceAppContentActivity$TargetFragment;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 694
    const-string v1, "ShowNew"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 695
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$16;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->startActivity(Landroid/content/Intent;)V

    .line 700
    .end local v0    # "intent":Landroid/content/Intent;
    :goto_43
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$16;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->finish()V

    .line 701
    return-void

    .line 697
    :cond_49
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/PublishAppActivity$16;->this$0:Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    const/16 v2, 0x3e9

    invoke-virtual {v1, v2}, Lcom/brixd/niceapp/community/activity/PublishAppActivity;->setResult(I)V

    goto :goto_43
.end method
